/**
 * class 表单类型 0 title 1 文本框 2 picker 3 地址选择 4 时间选择 5 照片上传 6 标签选取 7 单选框
 * type 文本框类型 或 其他表单具体类型
 * isDisable 是否禁用
 * required 是否必填
 * field 字段key
 * iconImage 图标地址
 * fieldLabel 字段label
 * valueType 值类型 用于检测必填项
 * autosize 富文本专用
 * pickerList picker 专用
 * pickerListKey picker 自动引用选取列表
 * maxFileNumber 图片上传限制个数
 * 
 */
import imgArr from '@assets/js/export.js';
const config = {
	baseStyle:{
		hasIcon:false,  //是否含有icon
		iconWith:30, //图片宽度 
		iconHight:31, //图片高度
		inputStyle: ['gui-border-b'] ,  
		inputAlign:['algin-right'],
		hasBtn:true,  // 是否有提交按钮
	},
	configForm:[
		{
			id:2,
			class: '1',
			type: 'text',
			isDisable: false,
			required: true,
			field: 'title',
			iconImage:imgArr.release2,
			fieldLabel: '标题',
			valueType: String,
			autosize: false,
			pickerList: [],
			pickerListKey:'',
		},
		{
			id:3,
			class: '2',
			type: '',
			isDisable: true,
			required: true,
			field: 'type',
			iconImage:imgArr.release2,
			fieldLabel: '局种',
			valueType: String,
			autosize: false,
			pickerList: [],
			pickerListKey:'typeList',
		},
		{
			id:4,
			class: '3',
			type: '',
			isDisable: true,
			required: true,
			field: 'city',
			iconImage:imgArr.release2,
			fieldLabel: '市区',
			valueType: String,
			autosize: false,
			pickerList: [],
			pickerListKey:'',
		},
		{
			id:5,
			class: '4',
			type: '',
			isDisable: true,
			required: true,
			field: 'time',
			iconImage:imgArr.release2,
			fieldLabel: '时间',
			valueType: String,
			autosize: false,
			pickerList: [],
			pickerListKey:'',
		},
		{
			id:6,
			class: '5',
			type: '',
			isDisable: false,
			required: false,
			maxFileNumber:9,
			iconImage:imgArr.release2,
			field: 'images',
			fieldLabel: '个人照片',
			valueType: Array,
			autosize: false,
			pickerList: [],
			pickerListKey:'',
		},
		// {
		// 	id:7,
		// 	class: '6',
		// 	type: '',
		// 	isDisable: false,
		// 	required: true,
		// 	field: 'tag',
		// 	iconImage:imgArr.release2,
		// 	fieldLabel: '标签',
		// 	valueType: Array,
		// 	autosize: false,
		// 	pickerList: [],
		// 	pickerListKey:'tagList',
		// },
		// {
		// 	id: 8,
		// 	class: '7',
		// 	type: 'number',
		// 	isDisable: false,
		// 	required: true,
		// 	field: 'gender',
		// 	iconImage: imgArr.release2,
		// 	fieldLabel: '性别',
		// 	valueType: String,
		// 	autosize: false,
		// 	pickerList: [],
		// 	pickerListKey: 'genderList',
		// },
		{
			id:9,
			class: '8',
			type: 'text',
			isDisable: false,
			required: true,
			field: 'mark',
			iconImage:imgArr.release2,
			fieldLabel: '备注',
			placeHold:'请输入内容...',
			valueType: String,
			autosize: false,
			pickerList: [],
			pickerListKey:'',
		},
	]
}
export default config